import http from "../../utils/Axios";

export async function sendEvent(params: { [key: string]: any }) {
  return http<boolean>(
    "post",
    "/app/keeper-special/communityScreen/insertsqfu",
    params
  );
}
export async function answerSheet(params: { [key: string]: any }) {
  return http<boolean>(
    "post",
    "/app/keeper-special/communitySystem/govern/questionnaire/answer",
    params
  );
}
// 获取问卷列表
export async function questionnairePage(params){
  return http<any>('get','/app/keeper-special/communitySystem/govern/questionnaire/page',params)
}

export async function getQuestionnaire(params){
  return http<any>('get','/app/keeper-special/communitySystem/govern/questionnaire/getQuestionnaire',params)
}

